package com.scproject.scbef.mapper;

import com.scproject.scbef.pojo.PoliticsKnowledge;
import com.scproject.scbef.pojo.PoliticsKnowledgeExample;
import com.scproject.scbef.pojo.vo.PoliticsKnowledgeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PoliticsKnowledgeMapper {
    long countByExample(PoliticsKnowledgeExample example);

    int deleteByExample(PoliticsKnowledgeExample example);

    int deleteByPrimaryKey(String id);

    int insert(PoliticsKnowledge record);

    int insertSelective(PoliticsKnowledge record);

    List<PoliticsKnowledge> selectByExampleWithBLOBs(PoliticsKnowledgeExample example);

    List<PoliticsKnowledge> selectByExample(PoliticsKnowledgeExample example);

    PoliticsKnowledge selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PoliticsKnowledge record, @Param("example") PoliticsKnowledgeExample example);

    int updateByExampleWithBLOBs(@Param("record") PoliticsKnowledge record, @Param("example") PoliticsKnowledgeExample example);

    int updateByExample(@Param("record") PoliticsKnowledge record, @Param("example") PoliticsKnowledgeExample example);

    int updateByPrimaryKeySelective(PoliticsKnowledge record);

    int updateByPrimaryKeyWithBLOBs(PoliticsKnowledge record);

    int updateByPrimaryKey(PoliticsKnowledge record);

    List<PoliticsKnowledgeVo> selectAllPoliticsKnowledge(String type);
}